<?php

/*
 * Site url patterns definition file
 */

Cogumelo::$url_patterns = array
(
	// admin access & redirect
	'#^admin$#' => 'redirect:'.SITE_HOST.SITE_URI.'admin/',
	'#^admin/action/loginuseradmin$#' => 'action:Admin/doUseradminLogin.inc',
	'#^(admin/)(.*)$#' => 'module:Admin',
	
	// actions
	'#^(action/?)(.*)$#' => 'view:Error.inc',

	// views

	// default views
	'#^()(.+)$#' => 'view:Error.inc',
	'#^$#' => 'view:Error.inc'					// App home url
	//'#^$#' => 'view:Public/MainPage.inc'		// Uncomment & delete line above
);